package com.edu.entity.chat;

public class Page {
    private int id;
    private int currentPage ;
    private int page_count;
    private String keyword;

    public Page() {
    }

    public Page(int currentPage, int page_count, String keyword) {
        this.currentPage = currentPage;
        this.page_count = page_count;
        this.keyword = keyword;
    }

    public Page(int id, int currentPage, int page_count) {
        this.id = id;
        this.currentPage = currentPage;
        this.page_count = page_count;
    }

    public Page(int currentPage, int page_count) {
        this.currentPage = currentPage;
        this.page_count = page_count;
    }

    public Page(int id, int currentPage, int page_count, String keyword) {
        this.id = id;
        this.currentPage = currentPage;
        this.page_count = page_count;
        this.keyword = keyword;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getPage_count() {
        return page_count;
    }

    public void setPage_count(int page_count) {
        this.page_count = page_count;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    @Override
    public String toString() {
        return "Page{" +
                "id=" + id +
                ", currentPage=" + currentPage +
                ", page_count=" + page_count +
                ", keyword='" + keyword + '\'' +
                '}';
    }
}
